<!doctype html>
<html>
  <head>
    <meta charset="utf-8">
    <title>问道</title>
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <#meta name="Keywords" content="${keywords}"/>
    <#meta name="Description" content="${description}"/>
    <link type="text/css"  rel="stylesheet"  href="/static/layui/css/layui.css" media="all"/>
    <link type="text/css"  rel="stylesheet"  href="/static/css/base.css" />
    <link type="text/css"  rel="stylesheet"  href="/static/css/user.css" />
    <link type="text/css"  rel="stylesheet"  href="/static/css/weixin.css" />
    <link type="text/css"  rel="stylesheet"  href="/static/css/screen.css" />
    <script src="/static/js/jquery-1.8.0.min.js"></script>
    <script type="text/javascript" src="/static/layui/layui.js"/>
    <script src="/static/js/common.js"></script>
    <!--<script type="text/javascript" src="/static/js/userAsk.js"/>-->
    <script type="text/javascript">
        layui.use(['layer','form'], function(){
            var layer = layui.layer;
            var form = layui.form;

            form.verify({
                username: function(value, item){ //value：表单的值、item：表单的DOM对象
                    if(!new RegExp("^[a-zA-Z0-9_\u4e00-\u9fa5\\s·]+$").test(value)){
                        return '姓名不能有特殊字符';
                    }
                    if(/(^\_)|(\__)|(\_+$)/.test(value)){
                        return '姓名首尾不能出现下划线\'_\'';
                    }
                    if(/^\d+\d+\d$/.test(value)){
                        return '姓名不能为数字';
                    }
                }
            });

            //监听提交
            form.on('submit(submitAsk)', function(data){
                /*layer.msg(JSON.stringify(data.field));
                return false;*/
                $.ajax({
                    url:'/user/ask',
                    method:'post',
                    data:data.field,
                    dataType:'JSON',
                    success:function(res){
                        $("#submitAsk").attr("disabled",true);
                        layer.msg("提问成功！谢谢您！！！");

                    },
                    error:function (data) {
                    }
                })
                return false;
            });
            // layer.msg('Hello World');
        });
    </script>
    <style>
      .icon{
        display: none;
      }
    </style>
  </head>

<body>
<div  class="icon" >
  <img src="/static/images/weixin/wap_logo.jpg" alt=""/>
</div>
<!--top start -->
<div class="wxTop">
  <div class="wxNewsTop"> <img src="/static/images/weixin/asktop.jpg"  width="100%" /> </div>
</div>

<!--top over --> 

<!--main start -->


  <div class="wxNav"> <a href="/wx/wx_ask" class="on">我要提问</a> <a href="#">我要投稿</a> </div>
  <div class="pageright">
    <div class="pagerightBody">
      <div class="rightTitle">协会新闻</div>
      <div class="rightBox">
        <div class="npmes">
          <div class="user_ask">
            <div class="ask_info"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;在日常经营管理工作中，<b>您是否遇到困惑或棘手的问题？</b><br/>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;看到经营管理类的热点问题时，您是否也有自己的疑问急需解答？<br/>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;为了助力企业发展，为企业出资人和职业经理人在日常经营管理工作中提供实际有效的帮助，<b>我们在线征集关于企业经营管理过程中遇到的问题及难点，将对问题及难点进行整理、汇总及分类，选取具有代表性的话题开展针对性的答疑解惑，如小型论坛研讨、圆桌会议、行业大咖深度访谈等。如是现场活动，将诚邀您莅临参与。</b><br/>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;感谢您对职业经理人事业的关注与支持！ </div>
            <div class="ask_input">
              <form class="layui-form"  method="post" lay-filter="askForm">
                <dl>
                  <dt>姓名</dt>
                  <dd>
                    <input type="text" name="name" placeholder="请填入您的姓名！" lay-verify="required|username"/>
                  </dd>
                </dl>
                <dl>
                  <dt>联系电话</dt>
                  <dd>
                    <input type="text" name="phone" placeholder="请填有效电话！" lay-verify="required|phone"/>
                  </dd>
                </dl>
                <dl>
                  <dt>邮箱</dt>
                  <dd>
                    <input type="text" name="email" placeholder="请填入有效邮箱！" lay-verify="required|email"  />
                  </dd>
                </dl>
                <dl>
                  <dt>工作单位</dt>
                  <dd>
                    <input type="text" name="workunit" placeholder="请填写您的工作单位！" lay-verify="required"/>
                  </dd>
                </dl>
                <dl>
                  <dt>职务</dt>
                  <dd>
                    <input type="text" name="position" placeholder="请填写您的职务！" lay-verify="required"/>
                  </dd>
                </dl>
                <dl class="w100">
                  <dt>我的需求</dt>
                  <dd>
                    <textarea name="requirement" placeholder="请填写您的需求！" lay-verify="required"></textarea>
                  </dd>
                </dl>
                <div class="btnBar">
                  <input type="submit" id="submitAsk"  value="提交" class="btn1" lay-submit lay-filter="submitAsk"/>
                </div>
              </form>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <div class="pageover"><span>END</span></div>

<!--main over --> 

<!--footer start -->
<div class="fixBtn">
  <ul>
    <li><a></a>
      <div class="sharebox" >
        <div class="bdsharebuttonbox"><a href_="#" class="bds_more" style="display:none" data-cmd="more"></a><a href_="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a><a href_="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a><a href_="#" class="bds_sqq" data-cmd="sqq" title="分享到QQ好友"></a></div>
      </div>
    </li>
    <li><a href="http://cn.mikecrm.com/Y7ZSMTX" target="_blank"><span>意见反馈</span></a></li>
    <li ><a id="stop"><span>返回顶部</span></a></li>
  </ul>
</div>
<div class="wxBtoomCode">
  <div class="wxBCLeft"> <span><img src="/static/images/code2.png"/></span> </div>
  <div class="wxBCRight">
    <dl>
      <dt><a href="#">文章</a><a href="#">交流</a><a href="#">资讯</a></dt>
      <dd>长按关注本协会公众号！</dd>
    </dl>
  </div>
</div>
<div class="footerLine"> </div>
<div class="wxFooter">
  <p> 厦门市湖里区枋钟路2368号<br/>
    金山财富广场4号楼105室<br/>
    0592-6031253</p>
  <p><span>&nbsp;</span></p>
  <p> www.fpmsa.org.cn </p>
</div>
<script src="/static/js/base.js"></script>
</body>
</html>
